﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dukou.BizService;
using Dukou.Security.Dao;
using Dukou.Security.Domain;

namespace Dukou.Security.BizService
{
    public interface IUserBizService : IBizService<IUserDao, User, Int64>
    {
        User FindByName(string userName);

        void GrantRole(User user, string name);

        bool IsInRole(User user, string roleName);
    }
}
